package com.equipment;
import java.util.Date;

/**
 * 会话密钥实体类
 *
 * @author 刘亚东
 *
 */
public class SessionKey {
	// 会话密钥创建时间
	private String date;
	// 记录回话密钥最后一次使用时间
	private Date codeTime = null;

	private long _id;
	// 会话密钥
	private String sessionKey;
	// 整体超时时间
	private String maxTimeOut;
	// 最小超时时间
	private String minTimeOut;
	// 终端机编号
	private String termiNnumber;
	// 管理员编号
	private String adminNumber;
	// 计算当前回话密钥的管理员卡号
	private String adminCard;
	// 当前回话密钥上传交易记录数量
	private int tradeLogNumber = 0;
	// 当前会话密钥上传照片记录数量
	private int tradePhoneNumber = 0;
	// 当前回话密钥脱机检测成功次数
	public int OffCheckCountSuccess = 0;

	// 当前会话密钥脱机激活成功次数
	public int OffActivateCountSuccess = 0;

	// 当前回话密钥联机检测成功次数
	public int OLCheckCountSuccess = 0;

	// 当前回话密钥联机激活成功次数
	public int OLActivateCountSuccess = 0;

	// 当前会话密钥个性化成功次数
	public int OLIndividuationCountSuccess = 0;

	// 当前回话密钥是否被注销
	public int checkOut = 0;



	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getSessionKey() {
		return sessionKey;
	}

	public void setSessionKey(String sessionKey) {
		this.sessionKey = sessionKey;
	}

	public String getMaxTimeOut() {
		return maxTimeOut;
	}

	public void setMaxTimeOut(String maxTimeOut) {
		this.maxTimeOut = maxTimeOut;
	}

	public String getMinTimeOut() {
		return minTimeOut;
	}

	public void setMinTimeOut(String minTimeOut) {
		this.minTimeOut = minTimeOut;
	}

	public String getTermiNnumber() {
		return termiNnumber;
	}

	public void setTermiNnumber(String termiNnumber) {
		this.termiNnumber = termiNnumber;
	}

	public String getAdminNumber() {
		return adminNumber;
	}

	public void setAdminNumber(String adminNumber) {
		this.adminNumber = adminNumber;
	}

	public String getAdminCard() {
		return adminCard;
	}

	public void setAdminCard(String adminCard) {
		this.adminCard = adminCard;
	}

	public int getTradeLogNumber() {
		return tradeLogNumber;
	}

	public void setTradeLogNumber(int tradeLogNumber) {
		this.tradeLogNumber = tradeLogNumber;
	}

	public long get_id() {
		return _id;
	}

	public void set_id(long _id) {
		this._id = _id;
	}

	public int getTradePhoneNumber() {
		return tradePhoneNumber;
	}

	public void setTradePhoneNumber(int tradePhoneNumber) {
		this.tradePhoneNumber = tradePhoneNumber;
	}

	public int getOffCheckCountSuccess() {
		return OffCheckCountSuccess;
	}

	public void setOffCheckCountSuccess(int offCheckCountSuccess) {
		OffCheckCountSuccess = offCheckCountSuccess;
	}


	public int getOffActivateCountSuccess() {
		return OffActivateCountSuccess;
	}

	public void setOffActivateCountSuccess(int offActivateCountSuccess) {
		OffActivateCountSuccess = offActivateCountSuccess;
	}


	public int getOLCheckCountSuccess() {
		return OLCheckCountSuccess;
	}

	public void setOLCheckCountSuccess(int oLCheckCountSuccess) {
		OLCheckCountSuccess = oLCheckCountSuccess;
	}



	public int getOLActivateCountSuccess() {
		return OLActivateCountSuccess;
	}

	public void setOLActivateCountSuccess(int oLActivateCountSuccess) {
		OLActivateCountSuccess = oLActivateCountSuccess;
	}



	public int getOLIndividuationCountSuccess() {
		return OLIndividuationCountSuccess;
	}

	public void setOLIndividuationCountSuccess(int oLIndividuationCountSuccess) {
		OLIndividuationCountSuccess = oLIndividuationCountSuccess;
	}

	public int getCheckOut() {
		return checkOut;
	}

	public void setCheckOut(int checkOut) {
		this.checkOut = checkOut;
	}

	public Date getCodeTime() {
		return codeTime;
	}

	public void setCodeTime(Date codeTime) {
		this.codeTime = codeTime;
	}



}
